const Layout = () => import('@/layout/index.vue')
export default [
  // {
  //   path: '/luckDraw',
  //   name: 'LuckDraw',
  //   meta: { title: '许愿池管理',icon:'DataAnalysis' },
  //   component: Layout,
  //   children: [
  //     {
  //       path: '/luckDraw/prizePools',
  //       name: 'LuckDrawPrizePools',
  //       component: () => import('@/views/luckDraw/prizePools/index.vue'),
  //       meta: { title: '礼物池管理', role: ['luckDraw_three']}
  //     },
  //     {
  //       path: '/luckDraw/reportList',
  //       name: 'LuckDrawReportList',
  //       component: () => import('@/views/luckDraw/reportList.vue'),
  //       meta: { title: '许愿池报表', role: ['luckDraw_index']}
  //     },
  //     {
  //       path: '/luckDraw/activity',
  //       name: 'LuckDrawActivity',
  //       component: () => import('@/views/luckDraw/activity.vue'),
  //       meta: { title: '许愿池列表', role: ['luckDraw_four']}
  //     },
  //     {
  //       path: '/luckDraw/rewardList',
  //       name: 'LuckDrawRewardList',
  //       component: () => import('@/views/luckDraw/rewardList.vue'),
  //       meta: { title: '参与统计', role: ['luckDraw_rewardList']}
  //     },
  //   ],
  // },
  {
    path: '/newLuckDraw',
    name: 'NewLuckDraw',
    meta: { title: '小盘玩法',icon:'DataAnalysis' },
    component: Layout,
    children: [
      {
        path: '/newLuckDrawConfigPage',
        name: 'NewLuckDrawConfigPage',
        meta: { title: '初级礼物池', icon:'DataAnalysis'},
        children:[
          {
            path: '/newLuckDraw/turntableConfig',
            name: 'NewLuckDrawConfig',
            component: () => import('@/views/newLuckDraw/turntableConfig/index.vue'),
            meta: { title: '常规配置', role: ['newLuckDraw_config'], pageType:1}
          },
          {
            path: '/newLuckDraw/poolConfig',
            name: 'NewLuckDrawPoolConfig',
            component: () => import('@/views/newLuckDraw/poolConfig/index.vue'),
            meta: { title: '初级礼物池配置', role: ['newLuckDraw_pool_config'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/giftList',
            name: 'NewLuckDrawGiftList',
            component: () => import('@/views/newLuckDraw/giftList/index.vue'),
            meta: { title: '初级外显礼物', role: ['newLuckDraw_giftList'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/userWhiteList',
            name: 'NewLuckDrawUserWhiteList',
            component: () => import('@/views/newLuckDraw/userWhiteList/index.vue'),
            meta: { title: '初级空投礼物', role: ['newLuckDraw_userWhiteList'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/poolWhiteList',
            name: 'NewLuckDrawPoolWhiteList',
            component: () => import('@/views/newLuckDraw/poolWhiteList/index.vue'),
            meta: { title: '初级礼物池抽取投放', role: ['newLuckDraw_poolWhiteList'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/turntableDetails',
            name: 'NewLuckDrawDetails',
            component: () => import('@/views/newLuckDraw/turntableDetails/index.vue'),
            meta: { title: '初级用户参与明细', role: ['newLuckDraw_newLuckDrawDetails'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/turntableDailyDetails',
            name: 'NewLuckDrawDailyDetails',
            component: () => import('@/views/newLuckDraw/turntableDailyDetails/index.vue'),
            meta: { title: '初级每日数据总览', role: ['newLuckDraw_newLuckDrawDailyDetails'], pool_level:1000}
          },
          {
            path: '/newLuckDraw/userCollect',
            name: 'NewLuckDrawUserCollect',
            component: () => import('@/views/newLuckDraw/userCollect/index.vue'),
            meta: { title: '初级用户整体分析', role: ['newLuckDraw_userCollect'], pool_level:1000}
          },
        ]
      },
      {
        path: '/newLuckDrawConfigPageSenior',
        name: 'NewLuckDrawConfigPageSenior',
        meta: { title: '隐藏礼物池', icon:'DataAnalysis'},
        children:[
          {
            path: '/newLuckDraw/turntableConfigSenior',
            name: 'NewLuckDrawConfigSenior',
            component: () => import('@/views/newLuckDraw/turntableConfig/index.vue'),
            meta: { title: '隐藏配置', role: ['newLuckDraw_config'], pageType:2}
          },
          {
            path: '/newLuckDraw/poolConfigSenior',
            name: 'NewLuckDrawPoolConfigSenior',
            component: () => import('@/views/newLuckDraw/poolConfig/index.vue'),
            meta: { title: '礼物池配置', role: ['newLuckDraw_pool_config'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/giftListSenior',
            name: 'NewLuckDrawGiftListSenior',
            component: () => import('@/views/newLuckDraw/giftList/index.vue'),
            meta: { title: '隐藏外显礼物', role: ['newLuckDraw_giftList'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/userWhiteListSenior',
            name: 'NewLuckDrawUserWhiteListSenior',
            component: () => import('@/views/newLuckDraw/userWhiteList/index.vue'),
            meta: { title: '隐藏空投礼物', role: ['newLuckDraw_userWhiteList'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/poolWhiteListSenior',
            name: 'NewLuckDrawPoolWhiteListSenior',
            component: () => import('@/views/newLuckDraw/poolWhiteList/index.vue'),
            meta: { title: '隐藏礼物池抽取投放', role: ['newLuckDraw_poolWhiteList'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/turntableDetailsSenior',
            name: 'NewLuckDrawDetailsSenior',
            component: () => import('@/views/newLuckDraw/turntableDetails/index.vue'),
            meta: { title: '隐藏用户参与明细', role: ['newLuckDraw_newLuckDrawDetails'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/turntableDailyDetailsSenior',
            name: 'NewLuckDrawDailyDetailsSenior',
            component: () => import('@/views/newLuckDraw/turntableDailyDetails/index.vue'),
            meta: { title: '隐藏每日数据总览', role: ['newLuckDraw_newLuckDrawDailyDetails'], pool_level:1001}
          },
          {
            path: '/newLuckDraw/userCollectSenior',
            name: 'NewLuckDrawUserCollectSenior',
            component: () => import('@/views/newLuckDraw/userCollect/index.vue'),
            meta: { title: '隐藏用户整体分析', role: ['newLuckDraw_userCollect'], pool_level:1001}
          },
        ]
      },
      {
        path: '/newLuckDraw/otherConfigurations',
        name: 'NewLuckDrawotherConfigurations',
        meta: { title: '小盘玩法设置', role: ['newLuckDraw_otherConfigurations'], pageType:3},
        component: () => import('@/views/newLuckDraw/turntableConfig/index.vue'),
      },
    ],
  },
  {
    path: '/wishingTurntable',
    name: 'WishingTurntable',
    meta: { title: '大盘玩法',icon:'DataAnalysis' },
    component: Layout,
    children: [
      {
        path: '/wishingTurntable/turntableConfig',
        name: 'TurntableConfig',
        component: () => import('@/views/wishingTurntable/turntableConfig/index.vue'),
        meta: { title: '大盘配置', role: ['turntable_config']}
      },
      {
        path: '/wishingTurntable/poolConfig',
        name: 'TurntablePoolConfig',
        component: () => import('@/views/wishingTurntable/poolConfig/index.vue'),
        meta: { title: '大盘礼物池配置', role: ['turntable_pool_config']}
      },
      {
        path: '/wishingTurntable/giftList',
        name: 'wishingTurntableGiftList',
        component: () => import('@/views/wishingTurntable/giftList/index.vue'),
        meta: { title: '大盘外显礼物', role: ['turntable_giftList']}
      },
      {
        path: '/wishingTurntable/userWhiteList',
        name: 'TurntableUserWhiteList',
        component: () => import('@/views/wishingTurntable/userWhiteList/index.vue'),
        meta: { title: '大盘空投礼物', role: ['turntable_userWhiteList']}
      },
      {
        path: '/wishingTurntable/poolWhiteList',
        name: 'TurntablePoolWhiteList',
        component: () => import('@/views/wishingTurntable/poolWhiteList/index.vue'),
        meta: { title: '大盘礼物池抽取投放', role: ['turntable_poolWhiteList']}
      },
      {
        path: '/wishingTurntable/turntableDetails',
        name: 'TurntableDetails',
        component: () => import('@/views/wishingTurntable/turntableDetails/index.vue'),
        meta: { title: '大盘用户参与明细', role: ['turntable_turntableDetails']}
      },
      {
        path: '/wishingTurntable/turntableDailyDetails',
        name: 'TurntableDailyDetails',
        component: () => import('@/views/wishingTurntable/turntableDailyDetails/index.vue'),
        meta: { title: '大盘每日数据总览', role: ['turntable_turntableDailyDetails']}
      },
      {
        path: '/wishingTurntable/userCollect',
        name: 'TurntableUserCollect',
        component: () => import('@/views/wishingTurntable/userCollect/index.vue'),
        meta: { title: '大盘用户整体分析', role: ['turntable_userCollect']}
      },
      {
        path: '/wishingTurntable/alonepool',
        name: 'TurntableAlonepool',
        meta: { title: '大盘个人礼物池'},
        children:[
          {
            path: '/wishingTurntable/alonepoolConfig',
            name: 'TurntableAlonePoolConfig',
            component: () => import('@/views/wishingTurntable/alonepool/poolConfig/index.vue'),
            meta: { title: '个人礼物池配置', role: ['turntable_AlonePoolConfig']}
          },
          {
            path: '/wishingTurntable/aloneUserCollect',
            name: 'TurntableAloneUserCollect',
            component: () => import('@/views/wishingTurntable/alonepool/userCollect/index.vue'),
            meta: { title: '用户汇总数据', role: ['turntable_AloneUserCollect']}
          },
          {
            path: '/wishingTurntable/alonepoolUser',
            name: 'TurntableAlonePoolUser',
            component: () => import('@/views/wishingTurntable/alonepool/poolUser/index.vue'),
            meta: { title: '个人礼物池用户', role: ['turntable_AlonePoolUser']}
          },
        ]
      },
      {
        path: '/wishingTurntable/extractPool',
        name: 'TurntableExtractPool',
        meta: { title: '抽取礼物池'},
        children:[
          {
            path: '/wishingTurntable/extractPoolConfig',
            name: 'TurntableExtractPoolConfig',
            component: () => import('@/views/wishingTurntable/extractPool/poolConfig/index.vue'),
            meta: { title: '抽取礼物池配置', role: ['turntable_extractPoolConfig']}
          },
          {
            path: '/wishingTurntable/extractPoolUserList',
            name: 'TurntableExtractPoolUserList',
            component: () => import('@/views/wishingTurntable/extractPool/userCollect/index.vue'),
            meta: { title: '抽取礼物池用户', role: ['turntable_extractPoolUserList']}
          },
        ]
      },
    ],
  },
  {
    path: '/wishDefender',
    name: 'WishDefender',
    meta: { title: '擂主活动',icon:'DataAnalysis' },
    component: Layout,
    children: [
      {
        path: '/wishDefenderConfigPage',
        name: 'WishDefenderConfigPage',
        meta: { title: '一阶擂主', icon:'DataAnalysis'},
        children:[
          {
            path: '/wishDefender/turntableConfig',
            name: 'wishDefenderConfig',
            component: () => import('@/views/wishDefender/turntableConfig/index.vue'),
            meta: { title: '一阶常规配置', role: ['wishDefender_config'], pageType:1}
          },
          {
            path: '/wishDefender/poolConfig',
            name: 'WishDefenderPoolConfig',
            component: () => import('@/views/wishDefender/poolConfig/index.vue'),
            meta: { title: '一阶礼物池配置', role: ['wishDefender_pool_config'], pool_level:1000}
          },
          {
            path: '/wishDefender/giftList',
            name: 'WishDefenderGiftList',
            component: () => import('@/views/wishDefender/giftList/index.vue'),
            meta: { title: '一阶外显礼物', role: ['wishDefender_giftList'], pool_level:1000}
          },
          // {
          //   path: '/wishDefender/sendGiftList',
          //   name: 'WishDefenderSendGiftList',
          //   component: () => import('@/views/wishDefender/giftList/indexSend.vue'),
          //   meta: { title: '一阶赠送奖励礼物', role: ['wishDefender_sendGiftList'], pool_level:1000}
          // },
          {
            path: '/wishDefender/userWhiteList',
            name: 'WishDefenderUserWhiteList',
            component: () => import('@/views/wishDefender/userWhiteList/index.vue'),
            meta: { title: '一阶空投礼物', role: ['wishDefender_userWhiteList'], pool_level:1000}
          },
          {
            path: '/wishDefender/poolWhiteList',
            name: 'WishDefenderPoolWhiteList',
            component: () => import('@/views/wishDefender/poolWhiteList/index.vue'),
            meta: { title: '一阶礼物池抽取投放', role: ['wishDefender_poolWhiteList'], pool_level:1000}
          },
          {
            path: '/wishDefender/turntableDetails',
            name: 'WishDefenderDetails',
            component: () => import('@/views/wishDefender/turntableDetails/index.vue'),
            meta: { title: '一阶用户参与明细', role: ['wishDefender_newLuckDrawDetails'], pool_level:1000}
          },
          {
            path: '/wishDefender/turntableDailyDetails',
            name: 'WishDefenderDailyDetails',
            component: () => import('@/views/wishDefender/turntableDailyDetails/index.vue'),
            meta: { title: '一阶每日数据总览', role: ['wishDefender_newLuckDrawDailyDetails'], pool_level:1000}
          },
          {
            path: '/wishDefender/userCollect',
            name: 'WishDefenderUserCollect',
            component: () => import('@/views/wishDefender/userCollect/index.vue'),
            meta: { title: '一阶用户整体分析', role: ['wishDefender_userCollect'], pool_level:1000}
          },
        ]
      },
      {
        path: '/wishDefenderConfigPageSenior2',
        name: 'WishDefenderConfigPageSenior2',
        meta: { title: '二阶擂主', icon:'DataAnalysis'},
        children:[
          {
            path: '/wishDefender/turntableConfigSenior2',
            name: 'WishDefenderConfigSenior2',
            component: () => import('@/views/wishDefender/turntableConfig/index.vue'),
            meta: { title: '二阶常规配置', role: ['wishDefender_config'], pageType:2}
          },
          {
            path: '/wishDefender/poolConfigSenior2',
            name: 'WishDefenderPoolConfigSenior2',
            component: () => import('@/views/wishDefender/poolConfig/index.vue'),
            meta: { title: '二阶礼物池配置', role: ['wishDefender_pool_config'], pool_level:1001}
          },
          {
            path: '/wishDefender/giftListSenior2',
            name: 'WishDefenderGiftListSenior2',
            component: () => import('@/views/wishDefender/giftList/index.vue'),
            meta: { title: '二阶外显礼物', role: ['wishDefender_giftList'], pool_level:1001}
          },
          // {
          //   path: '/wishDefender/sendGiftListSenior2',
          //   name: 'WishDefenderSendGiftListSenior2',
          //   component: () => import('@/views/wishDefender/giftList/indexSend.vue'),
          //   meta: { title: '二阶赠送奖励礼物', role: ['wishDefender_sendGiftList'], pool_level:1001}
          // },
          {
            path: '/wishDefender/userWhiteListSenior2',
            name: 'WishDefenderUserWhiteListSenior2',
            component: () => import('@/views/wishDefender/userWhiteList/index.vue'),
            meta: { title: '二阶空投礼物', role: ['wishDefender_userWhiteList'], pool_level:1001}
          },
          {
            path: '/wishDefender/poolWhiteListSenior2',
            name: 'WishDefenderPoolWhiteListSenior2',
            component: () => import('@/views/wishDefender/poolWhiteList/index.vue'),
            meta: { title: '二阶礼物池抽取投放', role: ['wishDefender_poolWhiteList'], pool_level:1001}
          },
          {
            path: '/wishDefender/turntableDetailsSenior2',
            name: 'WishDefenderDetailsSenior2',
            component: () => import('@/views/wishDefender/turntableDetails/index.vue'),
            meta: { title: '二阶用户参与明细', role: ['wishDefender_newLuckDrawDetails'], pool_level:1001}
          },
          {
            path: '/wishDefender/turntableDailyDetailsSenior2',
            name: 'WishDefenderDailyDetailsSenior2',
            component: () => import('@/views/wishDefender/turntableDailyDetails/index.vue'),
            meta: { title: '二阶每日数据总览', role: ['wishDefender_newLuckDrawDailyDetails'], pool_level:1001}
          },
          {
            path: '/wishDefender/userCollectSenior2',
            name: 'WishDefenderUserCollectSenior2',
            component: () => import('@/views/wishDefender/userCollect/index.vue'),
            meta: { title: '二阶用户整体分析', role: ['wishDefender_userCollect'], pool_level:1001}
          },
        ]
      },
      {
        path: '/wishDefenderConfigPageSenior3',
        name: 'WishDefenderConfigPageSenior3',
        meta: { title: '三阶擂主', icon:'DataAnalysis'},
        children:[
          {
            path: '/wishDefender/turntableConfigSenior3',
            name: 'WishDefenderConfigSenior3',
            component: () => import('@/views/wishDefender/turntableConfig/index.vue'),
            meta: { title: '三阶常规配置', role: ['wishDefender_config'], pageType:3}
          },
          {
            path: '/wishDefender/poolConfigSenior3',
            name: 'WishDefenderPoolConfigSenior3',
            component: () => import('@/views/wishDefender/poolConfig/index.vue'),
            meta: { title: '三阶礼物池配置', role: ['wishDefender_pool_config'], pool_level:1002}
          },
          {
            path: '/wishDefender/giftListSenior3',
            name: 'WishDefenderGiftListSenior3',
            component: () => import('@/views/wishDefender/giftList/index.vue'),
            meta: { title: '三阶外显礼物', role: ['wishDefender_giftList'], pool_level:1002}
          },
          // {
          //   path: '/wishDefender/sendGiftListSenior3',
          //   name: 'WishDefenderSendGiftListSenior3',
          //   component: () => import('@/views/wishDefender/giftList/indexSend.vue'),
          //   meta: { title: '三阶赠送奖励礼物', role: ['wishDefender_sendGiftList'], pool_level:1002}
          // },
          {
            path: '/wishDefender/userWhiteListSenior3',
            name: 'WishDefenderUserWhiteListSenior3',
            component: () => import('@/views/wishDefender/userWhiteList/index.vue'),
            meta: { title: '三阶空投礼物', role: ['wishDefender_userWhiteList'], pool_level:1002}
          },
          {
            path: '/wishDefender/poolWhiteListSenior3',
            name: 'WishDefenderPoolWhiteListSenior3',
            component: () => import('@/views/wishDefender/poolWhiteList/index.vue'),
            meta: { title: '三阶礼物池抽取投放', role: ['wishDefender_poolWhiteList'], pool_level:1002}
          },
          {
            path: '/wishDefender/turntableDetailsSenior3',
            name: 'WishDefenderDetailsSenior3',
            component: () => import('@/views/wishDefender/turntableDetails/index.vue'),
            meta: { title: '三阶用户参与明细', role: ['wishDefender_newLuckDrawDetails'], pool_level:1002}
          },
          {
            path: '/wishDefender/turntableDailyDetailsSenior3',
            name: 'WishDefenderDailyDetailsSenior3',
            component: () => import('@/views/wishDefender/turntableDailyDetails/index.vue'),
            meta: { title: '三阶每日数据总览', role: ['wishDefender_newLuckDrawDailyDetails'], pool_level:1002}
          },
          {
            path: '/wishDefender/userCollectSenior3',
            name: 'WishDefenderUserCollectSenior3',
            component: () => import('@/views/wishDefender/userCollect/index.vue'),
            meta: { title: '三阶用户整体分析', role: ['wishDefender_userCollect'], pool_level:1002}
          },
        ]
      },
      {
        path: '/wishDefenderConfigPageSenior4',
        name: 'WishDefenderConfigPageSenior4',
        meta: { title: '四阶擂主', icon:'DataAnalysis'},
        children:[
          {
            path: '/wishDefender/turntableConfigSenior4',
            name: 'WishDefenderConfigSenior4',
            component: () => import('@/views/wishDefender/turntableConfig/index.vue'),
            meta: { title: '四阶常规配置', role: ['wishDefender_config'], pageType:4}
          },
          {
            path: '/wishDefender/poolConfigSenior4',
            name: 'WishDefenderPoolConfigSenior4',
            component: () => import('@/views/wishDefender/poolConfig/index.vue'),
            meta: { title: '四阶礼物池配置', role: ['wishDefender_pool_config'], pool_level:1003}
          },
          {
            path: '/wishDefender/giftListSenior4',
            name: 'WishDefenderGiftListSenior4',
            component: () => import('@/views/wishDefender/giftList/index.vue'),
            meta: { title: '四阶外显礼物', role: ['wishDefender_giftList'], pool_level:1003}
          },
          // {
          //   path: '/wishDefender/sendGiftListSenior4',
          //   name: 'WishDefenderSendGiftListSenior4',
          //   component: () => import('@/views/wishDefender/giftList/indexSend.vue'),
          //   meta: { title: '四阶赠送奖励礼物', role: ['wishDefender_sendGiftList'], pool_level:1003}
          // },
          {
            path: '/wishDefender/userWhiteListSenior4',
            name: 'WishDefenderUserWhiteListSenior4',
            component: () => import('@/views/wishDefender/userWhiteList/index.vue'),
            meta: { title: '四阶空投礼物', role: ['wishDefender_userWhiteList'], pool_level:1003}
          },
          {
            path: '/wishDefender/poolWhiteListSenior4',
            name: 'WishDefenderPoolWhiteListSenior4',
            component: () => import('@/views/wishDefender/poolWhiteList/index.vue'),
            meta: { title: '四阶礼物池抽取投放', role: ['wishDefender_poolWhiteList'], pool_level:1003}
          },
          {
            path: '/wishDefender/turntableDetailsSenior4',
            name: 'WishDefenderDetailsSenior4',
            component: () => import('@/views/wishDefender/turntableDetails/index.vue'),
            meta: { title: '四阶用户参与明细', role: ['wishDefender_newLuckDrawDetails'], pool_level:1003}
          },
          {
            path: '/wishDefender/turntableDailyDetailsSenior4',
            name: 'WishDefenderDailyDetailsSenior4',
            component: () => import('@/views/wishDefender/turntableDailyDetails/index.vue'),
            meta: { title: '四阶每日数据总览', role: ['wishDefender_newLuckDrawDailyDetails'], pool_level:1003}
          },
          {
            path: '/wishDefender/userCollectSenior4',
            name: 'WishDefenderUserCollectSenior4',
            component: () => import('@/views/wishDefender/userCollect/index.vue'),
            meta: { title: '四阶用户整体分析', role: ['wishDefender_userCollect'], pool_level:1003}
          },
        ]
      },
      {
        path: '/wishDefender/otherConfigurations',
        name: 'wishDefenderotherConfigurations',
        meta: { title: '擂主活动设置', role: ['wishDefender_otherConfigurations'], pageType:5},
        component: () => import('@/views/wishDefender/turntableConfig/index.vue'),
      },
      {
        path: '/wishDefender/turntableSendDetails',
        name: 'WishDefenderSendDetails',
        component: () => import('@/views/wishDefender/turntableDetails/sendGiftIndex.vue'),
        meta: { title: '当日奖励礼物发放明细', role: ['wishDefender_SendDrawDetails']}
      },

    ],
  },
]
